// 封装关于用户的一些接口
import request from '@/utils/request'

export function loginApi({ account, password }) {
    return request({
        url: '/login',
        method: 'POST',
        data: {
            account,
            password
        }
    })
}

export const getLikeListApi = ({ limit = 4 }) => {
  return request({
    url:'/goods/relevant',
    params: {
      limit 
    }
  })
}